package com.sxt.controller;

import com.sxt.common.DataGridView;

import com.sxt.service.GoodsTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;


@Controller
@RequestMapping("goodstype")
public class GoodstypeController {

    @Autowired
    private GoodsTypeService goodsTypeService;


    @RequestMapping("loadAllgoodsType")
    @ResponseBody
    public DataGridView loadAllBillType(){
        return this.goodsTypeService.queryAllGoodsType();
    }

}
